//
//  Semester.h
//  Gradekeeper0.2
//
//  Created by Tim Qian on 09-12-1.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Courses.h"


@interface Semester : NSObject {
	int year;
	NSString* term;
	NSMutableArray* courses;
	int credits;
	float GPA;
}

@property (nonatomic, retain) NSString* term;
@property (nonatomic, retain) NSMutableArray* courses;
@property (nonatomic) int year;
@property (nonatomic) int credits;
@property (nonatomic) float GPA;

-(BOOL) addCourse:(Courses*)newCourse;
-(void) update;

@end
